package com.ireadyit.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ireadyit.domain.Ticket;

/**
 * @author 原浩伟
 * @description 车票业务层接口
 * @date 2021-05-14 9:43
 */
public interface ITicketService extends IService<Ticket> {

    /**
     * @description 使用MybatisPlus分页查询车票列表
     * @param
     * @return com.baomidou.mybatisplus.plugins.Page
     * @author 原浩伟
     * @date 2021-05-14 9:46
     */
    Page findTicketPage(Page page);

    PageInfo<Ticket> findTicketPageUseMybatis(Page page);
}
